package org.potomak.patientmanager.beans.model;

import java.io.Serializable;

public class ImportantNoteBean implements Serializable, NoteInterface {

	public int id;
	public PatientBean patient;
	public String text;

	public ImportantNoteBean() {
		patient = new PatientBean();
		text = "important note";
	}

	public ImportantNoteBean(PatientBean patient, String text) {
		this.patient = patient;
		this.text = text;
	}
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public PatientBean getPatient() {
		return patient;
	}

	public void setPatient(PatientBean patient) {
		this.patient = patient;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String toString() {
		return "patient: " + patient + " text: " + text;
	}

}